package com.andyliu.sys.service;

import com.andyliu.sys.pojo.SActionLog;
import com.github.pagehelper.PageInfo;

/**
 * ClassName: LogService
 * Description: TODO
 * date: 2021/1/21 3:09 下午
 *
 * @author andyliu
 * @since JDK 1.8
 */
public interface LogService {
    /**
     * 保存请求访问日志
     * @param log
     */
    void saveActionLog(SActionLog log);

    /**
     * 分页显示日志数据
     * @param log
     * @param pageNumber
     * @param pageSize
     * @return
     */
    PageInfo<SActionLog> queryAactionLogByPage(SActionLog log,Integer pageNumber,Integer pageSize);

    boolean deleteActionLogs(Integer[] ids);
}
